projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d1702
)
(xg_update_menubar): Call g_list_next after moving
author
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 3 Apr 2007 07:34:26 +0000
(07:34 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 3 Apr 2007 07:34:26 +0000
(07:34 +0000)
menu bar item.
src/gtkutil.c
patch
|
blob
|
history
diff --git
a/src/gtkutil.c
b/src/gtkutil.c
index fa8e91546ce2b22867ca13c6b5bd825556898365..8dfcf84f0f2da08d7b00ab3f351236e9466a793d 100644
(file)
--- a/
src/gtkutil.c
+++ b/
src/gtkutil.c
@@
-2506,6
+2506,7
@@
xg_update_menubar (menubar, f, list, iter, pos, val,
g_list_free (*list);
*list = iter = gtk_container_get_children (GTK_CONTAINER (menubar));
while (nr-- > 0) iter = g_list_next (iter);
+ if (iter) iter = g_list_next (iter);
val = val->next;
++pos;
}